//专家学者  二进制请求改变
import request from "@/utils/request";

const http ={
    Get(url,params){
        const config = {
            method: 'get',
            url:url,
            responseType:'arraybuffer'
        }
        if(params) config.params = params
        return request(config)
    },
}

//请求图片二进制
export function GetExpertPicture(params){
    return http.Get(`/Expert/GetExpertPicture`,params)
}
export function GetDocument(params){
    return request({
        url: '/Expert/GetDocument',
        method: 'get',
        params,
    })
}
export function GetExpert(params){
  return request({
    url: '/Expert/GetExpert',
    method: 'get',
    params,
  })
}
